package com.ebei.admin.common.util;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class CascadeElement {

    private String value;

    private String label;

    private String  parentId;

    private List<CascadeElement> children = new ArrayList<CascadeElement>();

    public void add(CascadeElement element) {
        children.add(element);
    }

}
